package com.yh.base.common;

/**
 * 
 * 系统常量
 * 
 * @author  严华
 * @version  [版本号, 2012-11-4]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class Constant {
	public static final String COMMON_DATE_FORMATE = "yyyy-MM-dd HH:mm:ss";
	public static final String COMMON_DATE_FORMATE_1 = "yyyy-MM-dd";
    public static final String DEFAULT_TIME_ZONE = "GMT+8";
    public static final int COM_PARAM_TYPE_APPLICATION = 1;
    public static final int COM_PARAM_TYPE_SESSION = 2;

    public static final int COM_CONTROL_SELECT = 1;
    public static final int COM_CONTROL_RADIO = 2;
    public static final int COM_CONTROL_CHECKBOX = 3;
    public static final int COM_CONTROL_TEXT = 4;
    
    /**request中SQL语句常量值*/
    public static final String CON_REQUEST_RUNTIME_SQL_KEY = "CON_REQUEST_RUNTIME_SQL_KEY";
    /**action返回json对象时，valuestace存储对象常量值*/
    public static final String CON_JSON_RESULT_VALUE_KEY = "CON_JSON_RESULT_VALUE_KEY";
    /**action返回页面时，返回的页面 pageName*/
    public static final String CON_PAGE_RESULT_VALUE_KEY = "CON_PAGE_RESULT_VALUE_KEY";
    /**通用SQL查询时的替换Key 例：取得原始SQL补分页条件或count条件*/
    public static final String CON_INSTEAD_SQL_KEY = "CON_INSTEAD_SQL_KEY";
}
